//
//  TMAliPayManger.h
//  WorthWhile
//
//  Created by Mac on 2018/6/22.
//  Copyright © 2018年 stoneobs.icloud.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AlipaySDK/AlipaySDK.h>
typedef void(^TMAliPayMangerPayHandle)(BOOL success,NSString * alert);
/************通用支付宝支付******************/
@interface TMAliPayManger : NSObject
+ (TMAliPayManger*)manger;

//- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options 实现此方法
- (void)inAppDelegateDealOpenURL:(NSURL *)url;

//支付
- (void)startPayOrder:(NSString*)order handle:(TMAliPayMangerPayHandle)handle;
@end
